package com.yisoo.ubag.product.feign;

import com.yisoo.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("renren-fast")
public interface RenFeignService {

    @GetMapping("/renren-fast/yisoo/getuserid/{token}")
    R getUseridByToken(@PathVariable("token") String token);
}
